package com.ebookstore.struts.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

public class UserForm extends BaseActionForm {

	private Integer level;//用户等级
	private String sex;//性别
	private String phone;//电话
	private String password;//密码
	private String userName;//用户名
	private Integer loginTimes;//登录次数
	private String address;//地址
	private String email;//电子邮件
	private String regTime;//注册时间
	private String zip;//邮政编码
	private String name;//姓名
	private Integer id = -1;
	private String passwrodNew,confirmPsd;//新密码，确认密码

	public void reset(ActionMapping mapping, HttpServletRequest request) {
	}

	public String getPasswrodNew() {
		return passwrodNew;
	}

	public void setPasswrodNew(String passwrodNew) {
		this.passwrodNew = passwrodNew;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRegTime() {
		return regTime;
	}

	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getConfirmPsd() {
		return confirmPsd;
	}

	public void setConfirmPsd(String confirmPsd) {
		this.confirmPsd = confirmPsd;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
